﻿#region 文件信息

// FileName: SoCafeShop/Sohobloo.SoAuth.Data/SoAuthActionConfiguration.cs
// Author: Sohobloo
// CreateTime: 2013/06/28 20:31
// UpdateTime: 2013/06/30 3:41

#endregion

#region 引用

using Sohobloo.SoAuth.Entity;
using Sohobloo.SoMcCoffee.Data;

#endregion

namespace Sohobloo.SoAuth.Data.Configurations
{
    public class SoAuthActionConfiguration : EntityConfigurationBase<SoAuthAction>
    {
        #region 方法

        public override void Configurate()
        {
            base.Configurate();
            HasRequired(fp => fp.ActionFunction).WithMany(f => f.FunctionActions).WillCascadeOnDelete(true);
        }

        #endregion 方法
    }
}